import json

def read_json(path):
    f = open(path, 'r',encoding='utf-8')
    for i in f.readlines():
        jsonstr = json.loads(i)
        for j in jsonstr['contents']:
            id = j['id']
            sno = j['sno']
            authors = j['authors']
            authors_address = j['authors_address']
            authors_jg = j['authors_jg']
            blpm = j['blpm']
            byc = j['byc']
            juan = j['juan']
            lypm = j['lypm']
            lypmp = j['lypmp']
            nian = j['nian']
            qi = j['qi']
            qkmc = j['qkmc']
            wzlx = j['wzlx']
            xkdm1 = j['xkdm1']
            xkfl1 = j['xkfl1']
            xmlb = j['xmlb']
            yjdm = j['yjdm']
            ym = j['ym']
            catation = ''
            authorsDetail = ''
            print(id)
            print(sno)
            print(authors)
            print(authors_address)
            print(authors_jg)
            print(blpm)
            print(byc)
            print(juan)
            print(lypm)
            print(lypmp)
            print(nian)
            print(qi)
            print(qkmc)
            print(wzlx)
            print(xkdm1)
            print(xkfl1)
            print(xmlb)
            print(yjdm)
            print(ym)
            print(catation)
            print(authorsDetail)

def main():
    read_json(r'../cssci/5-情报学报.json')

if __name__ == '__main__':
    main()